// src/api/projectApi.js
import { apiClient } from './base'

export const getProjects = (params) => apiClient.get('/fnacostcenters/projects', { params })
export const createProject = (data) => apiClient.post('/fnacostcenters/projects', data)
export const updateProject = (data) => apiClient.put('/fnacostcenters/projects', data)
export const deleteProject = (id) => apiClient.delete(`/fnacostcenters/projects/${id}`)